package batiment;

import java.util.Collection;

import ressourceImpl.QuantiteRessource;

/**
 * 
 * @modelguid {A762B994-75AF-4CA8-B331-A8E14616BFE7}
 */
public class Recrutement extends Batiment {
	/**
	 * 
	 * @modelguid {5B1226EA-FDB7-434E-B668-D3EA900A08B0}
	 */
	private int capacite;

	/**
	 * 
	 * @modelguid {48623982-0C6A-4A8E-B9FB-17B3F74C3799}
	 */
	private int vitesseRecrutement;

	public Recrutement(int sup, Collection<QuantiteRessource> c, int vit_constr, int vit_destru, int res, int cap, int vit_recrutement, String _nom){
		super (sup, c, vit_constr, vit_destru, res, _nom);
		this.setCapacite(cap);
		this.setVitesseRecrutement(vit_recrutement);
	}
	/** @modelguid {E297536F-7DB6-4FE8-A017-170856503EAB} */
	public int getCapacite() {
		/*Begin Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5}*/
		
		return capacite;
		/*End Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5}*/
	}

	/** @modelguid {876F49A7-FEB2-47F4-8EAD-AD800D24FA35} */
	public void setCapacite(int aCapacite) {
		/*Begin Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5}*/
		capacite = aCapacite;
		/*End Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5}*/
	}

	/** @modelguid {43506BA8-126E-438D-941C-24AC8CEF557A} */
	public int getVitesseRecrutement() {
		/*Begin Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5}*/
		
		return vitesseRecrutement;
		/*End Template Expansion{D463887C-0F96-42C1-B8DC-90E8DC272BD5}*/
	}

	/** @modelguid {A4B5DEEA-A9E4-45AE-B7ED-1313B550707E} */
	public void setVitesseRecrutement(int aVitesseRecrutement) {
		/*Begin Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5}*/
		vitesseRecrutement = aVitesseRecrutement;
		/*End Template Expansion{CA3F77E8-8B8B-47C4-A1B8-CE1F21AEAEA5}*/
	}

}

